/*
 * Copyright (c) 2011 Jean-Marc Perronne
 * Ensisa, 12 rue des Freres Lumieres, F-68093 Mulhouse cedex
 * All rights reserved.
 *
 * The copyright of this software is owned by Werner Randelshofer. 
 * You may not use, copy or modify this software, except in  
 * accordance with the license agreement you entered into with  
 * Jean-Marc Perronne. For details see accompanying license terms. 
 */

package fr.uha.ensisa.jmp.ui.model;

import java.util.Collection;
import javax.swing.event.ChangeListener;

public interface CompoundBoundedModel
{
	public void addModel(String key, BoundedModel model);
	public void removeModel(String key);
	public Collection<BoundedModel>models();
	
	public void addChangeListener(String modelKey, ChangeListener l);
	public void removeChangeListener(String modelKey, ChangeListener l);

	public int getMaximum(String modelKey);
	public int getMinimum(String modelKey);
	public int getValue(String modelKey);
	public void setMaximum(String modelKey, int v);
	public void setMinimum(String modelKey, int v);
	public void setValue(String modelKey, int v);
}
